<!DOCTYPE html>
<html lang="en">
<link>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>测试按钮</title>
<link rel="stylesheet" href="../layui/css/layui.css" media="all">
<link rel="stylesheet" href="../layui/css/modules/layer/default/layer.css">
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../layui/lay/modules/layer.js"></script>

<script type="text/javascript">
    function clic() {
        layer.alert("hello");
    }
</script>
</head>
<body>
<input class="layui-btn" onclick="clic()" type="button" value="按钮2222222222"/>
</body>
</html>